package com.android.jay.lib_webview.activity;

import android.app.Activity;
import android.os.Bundle;


import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;

import androidx.annotation.Nullable;

/**
 * Created by wzp on 2020/2/8 0008.
 * <p>
 * 描述  ：todo
 */
@Route(path = "/webview/web_activity")
public class AdBrowserActivity extends Activity {

    @Autowired(name = "url")
    protected String mUrl;  //这种注入不能使用private

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //如果要使用Autowired 注册
        ARouter.getInstance().inject(this);
    }
}
